
const dotenv = require('dotenv');
const result = dotenv.config();
if (result.error) {
    throw result.error;
}

const config = require('./config');

const MetamonApi = require('./metamon_api');
const AutoBattle = require('./auto_battle.js');

const autoBattle = new AutoBattle(config);
// const metamonApi = new MetamonApi(config.address, config.chain, config.privateKey);
// metamonApi.login().then((result) => {
//     console.log(result);
// });

autoBattle.run();


